﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LuShanTea.Admin.Web.Models
{
    public class GoodAddNewPostModel
    {
        /// <summary>
        /// 商品名字
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 商品价格(注意：不同包装类型的价格都放在这个字段中)
        /// </summary>
        public float Price { get; set; }
        /// <summary>
        /// 原始价格
        /// </summary>
        public float PrePrice { get; set; }
        /// <summary>
        /// 商品重量
        /// </summary>
        public float Weight { get; set; }
        /// <summary>
        /// 总价格
        /// </summary>
        public long TotalCount { get; set; }
        /// <summary>
        /// 销售量
        /// </summary>
        public long Selled { get; set; }
        /// <summary>
        /// 商品描述
        /// </summary>
        public string Descible { get; set; }
        /// <summary>
        /// 商品类型id
        /// </summary>
        public long CateGoriesId { get; set; }
        /// <summary>
        /// 商品所属城市
        /// </summary>
        public long CityId { get; set; }
        /// <summary>
        /// 包装类型id
        /// </summary>
        public long[] PackIds { get; set; }

        public string weightUnit { get; set; } = "kg";
    }
}